<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="java.util.List"%>
<%@ page import="model.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<LINK rel="Bookmark" href="/favicon.ico">
<LINK rel="Shortcut Icon" href="/favicon.ico" />
<link href="../css/registe.css" rel="stylesheet" type="text/css" />
<script src="../js/jquery-1.7.min.js"></script>
<script type="text/javascript">
	$(function() {
		$('#isAgree').click(function(){
			if($('#isAgree').attr('checked')){
				$('#registe').css('background-color', '#ffa800');
				$('#registe').attr('disabled', false);
			}
			else{
				$('#registe').css('background-color', '#DDDDDD');
				$('#registe').attr('disabled', true);
			}			
		});		
		$('#registe').attr('disabled', true);
	});
</script>
</head>
<body onload="check()">
	
	<div class="wp mainWraper box_shadow">
		<div class="formWraper">
			<form action="../UserServlet?action=reset" method="post" class="Huiform UCform" name="frmLogin">
				<input type="hidden" name="appId" value="1006" /> 
				<input type="hidden" name="third" value="" /> 
				<input type="hidden" name="userId" value="" /> 
				<input type="hidden" name="thirdId" value="" /> 
				<input type="hidden" id="regkey" name="regkey" value="VDRRbkZ2bGcyMW00Z3ZDQllUM3ZWTlV4U0JmUVNOWGkwOFpTUXFROHFveUFlUUJueWppOVR3PT0%2F%0Aa2V5SWQ9MQ%3D%3D" />

				<div style="padding-left: 230px; padding-top: 40px">
					<p class="c-red"></p>
					<%-- <div class="formRow"><h1 style="font-size:15px">您的ID为<a href="UserServlet?userId=${ finder.getUserID() }"></a>></h1></div> --%>
					<div class="formRow"><h1 style="font-size:15px">${ finder.getUserName() }请修改你的密码</h1></div>
					
					<div class="formRow">
						<div class="formControls">
							<input type="text" class="input_text radius" name="userid" value=${finder.getUserId()} readonly="readonly" />
						</div>
					</div>
					
					<div class="formRow">
						<div class="formControls">
							<input name="password" id="password" class="input_text radius"
								type="password" autocomplete="off" placeholder="设置新密码"
								tabindex="3" datatype="*6-20" plugin="passwordStrength"
								nullmsg="请设置您的通行证登录密码！" errormsg="6~20个字符，区分大小写！"> <input
								id="IEpassword" class="input_text IE8paw radius" type="text"
								value="设置密码" style="display: none"> <span
								class="passwordStrength"
								style="display: none; margin-left: 25px;"><span>弱</span><span>中</span><span
								class="last">强</span></span> <span class="Validform_checktip"></span>
						</div>
					</div>
					<div class="formRow">
						<div class="formControls">
							<input name="password2" id="password2" class="input_text radius"
								type="password" autocomplete="off" placeholder="确认密码"
								tabindex="4" datatype="*" recheck="password" nullmsg="请再输入一次密码！"
								errormsg="您两次输入的密码不一致！"> <input id="IEpassword2"
								class="input_text IE8paw radius" type="text" value="设置密码"
								style="display: none">
						</div>
					</div>
					<div class="formRow f14 c-666" name="check">
						<input type="checkbox" tabindex="5" autocomplete="off"
							id="isAgree" name="isAgree" datatype="*" nullmsg="请勾选"
							onclick="ok()"> 我已阅读并接受 <a class="c-main"
							href="http://my.zcool.com.cn/service/copyright.html"
							target="_blank">版权声明</a> 和 <a class="c-main"
							href="http://my.zcool.com.cn/service/privacy.html"
							target="_blank">隐私保护</a> 条款
					</div>
					<div class="formRow">

						<button class="btn btn-block btn-success btn-large" id="registe" type="submit" tabindex="6">修改密码</button>
					</div>
				</div>
			</form>
		</div>
	</div>

</body>
</html>